import 'package:get/get.dart';

import 'state.dart';

class IndexLogic extends GetxController  {
  final IndexState state = IndexState();


  ///设置选中的tab位置
  void selectedPosition(int position) {
    state.selectedIndex = position;
    update();
  }
}
